/**
 * Created by yangchen on 2019/3/25
 * */
class EasyJQ {
  constructor(select) {
    this.dom = document.querySelector(select);
    return this;
  }

  attr(key, value) {
    this.dom.setAttribute(key, value);
    return this;
  }

  val(value) {
    this.dom.value = value;
    return this;
  }
}

const E$ = (select) => new EasyJQ(select);

export {
  E$
};
